package com.gpframework.module.req.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

/**
 * 手机号登录请求体
 */
@Data
@ApiModel
@Validated
public class LoginTokenReq {

     @NotBlank(message = "请输入身份token")
     @ApiModelProperty(value = "身份token",required = true)
     private String loginToken;

     @ApiModelProperty(value = "本机语言",required = false)
     private String nativeLanguage;

}
